[INFO] fetching crate expose 0.1.1...
[INFO] fixing expose-0.1.1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate expose 0.1.1 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate expose 0.1.1
[INFO] finished tweaking crates.io crate expose 0.1.1
[INFO] tweaked toml for crates.io crate expose 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate expose 0.1.1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 43 packages to latest compatible versions
[INFO] [stderr]       Adding cbindgen v0.8.7 (available: v0.29.4)
[INFO] [stderr]       Adding quote v0.6.13 (available: v1.0.46)
[INFO] [stderr]       Adding syn v0.15.44 (available: v2.0.118)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d050c6a22dfab0913d0a843cd35729763516feed04e18b6ada41d76fb467749b
[INFO] running `Command { std: "docker" "start" "d050c6a22dfab0913d0a843cd35729763516feed04e18b6ada41d76fb467749b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d050c6a22dfab0913d0a843cd35729763516feed04e18b6ada41d76fb467749b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d050c6a22dfab0913d0a843cd35729763516feed04e18b6ada41d76fb467749b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d050c6a22dfab0913d0a843cd35729763516feed04e18b6ada41d76fb467749b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling cbindgen v0.8.7
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking quote v0.6.13
[INFO] [stderr]     Checking toml v0.4.10
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]     Checking expose v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating tests/smoke.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.99s
[INFO] [stderr] crater-edition-check: expose v0.1.1 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling expose v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.97s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stdout] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stdout]   --> tests/smoke.rs:11:49
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn test_more_complex(x: i32, y: i32, z: String) -> String {
[INFO] [stdout]    |                                                 ^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stdout] warning: `extern` fn uses type `String`, which is not FFI-safe
[INFO] [stdout]   --> tests/smoke.rs:11:60
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn test_more_complex(x: i32, y: i32, z: String) -> String {
[INFO] [stdout]    |                                                            ^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking expose v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/smoke.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.42s
[INFO] [stderr] crater-edition-check: expose v0.1.1 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling expose v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]  --> tests/smoke.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     #[expose::function]
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the attribute macro `expose::function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> tests/smoke.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     #[expose::function]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `expose::function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> tests/smoke.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     #[expose::function]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `expose::function` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> tests/smoke.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     #[expose::enumeration]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `expose::enumeration` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `expose` (test "smoke") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "d050c6a22dfab0913d0a843cd35729763516feed04e18b6ada41d76fb467749b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d050c6a22dfab0913d0a843cd35729763516feed04e18b6ada41d76fb467749b", kill_on_drop: false }`
[INFO] [stdout] d050c6a22dfab0913d0a843cd35729763516feed04e18b6ada41d76fb467749b
